package com.yunxi.model.sto;

import com.baomidou.mybatisplus.annotation.*;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 库存盘点
 * </p>
 *
 * @author caoYong
 * @since 2019-08-16
 */
@Data
@TableName("pms_sto_storage_check")
@ApiModel(value="StoStorageCheck对象", description="库存盘点")
public class StoStorageCheck implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "STORAGE_CHECK_ID", type = IdType.UUID)
    private String storageCheckId;

    @ApiModelProperty(value = "渠道商代码")
    @TableField("PARTNER_CODE")
    private String partnerCode;

    @ApiModelProperty(value = "盘点计划名称")
    @TableField("CHECK_NAME")
    private String checkName;

    @ApiModelProperty(value = "VIN码")
    @TableField("VIN")
    private String vin;

    @ApiModelProperty(value = "盘点状态(Storage_CheckStatus,1未开始,2盘点完成,3删除)")
    @TableField("CHECK_STATUS")
    private Integer checkStatus;

    @ApiModelProperty(value = "是否在库(1是,0否)")
    @TableField("IS_IN_STORAGE")
    private Integer isInStorage;

    @ApiModelProperty(value = "车辆状态(Storage_VehicleStatus,1正常,2异常)")
    @TableField("VEHICLE_STATUS")
    private Integer vehicleStatus;

    @ApiModelProperty(value = "是否在指定库位(1是,0否)")
    @TableField("STORAGE_LOCATION_STATUS")
    private Integer storageLocationStatus;

    @ApiModelProperty(value = "盘点人")
    @TableField("CHECKER")
    private String checker;

    @ApiModelProperty(value = "备注")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty(value = "计划盘点日期")
    @TableField("PLAN_CHECK_DATE")
    private Date planCheckDate;

    @ApiModelProperty(value = "完成盘点日期")
    @TableField("COMPLETE_CHECK_DATE")
    private Date completeCheckDate;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY",fill = FieldFill.UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "是否有钥匙(1是,0否)")
    @TableField("IS_KEY_IN")
    private Integer isKeyIn;

    @ApiModelProperty(value = "盘点方法")
    @TableField("CHECK_METHOD")
    private String checkMethod;

    @ApiModelProperty(value = "盘点范围")
    @TableField("CHECK_SCOPE")
    private String checkScope;

    @ApiModelProperty(value = "盘点区域")
    @TableField("CHECK_AREA")
    private String checkArea;

}
